﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EF
{
    public class GanttEntities : DbContext
    {
        public Core.MapPhantom PhantomMaps { get; set; }

        public GanttEntities() :
            base("name=GanttEntities")
        {
        }
        public DbSet<Assignment> Assignments { get; set; }
        public DbSet<Calendar> Calendars { get; set; }
        public DbSet<CalendarDay> CalendarDays { get; set; }
        public DbSet<Dependency> Dependencies { get; set; }
        public DbSet<Option> Options { get; set; }
        public DbSet<Resource> Resources { get; set; }
        public DbSet<Task> Tasks { get; set; }
        public DbSet<TaskSegment> TaskSegments { get; set; }
    }
}
